<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\GoodsSpu
 *
 * @property int $id 自增id
 * @property int $goods_id 商品id
 * @property string|null $spu_name 属性名
 * @property float $price 商品价格
 * @property int $stock 商品库存
 * @property int $sort 排序
 * @property int $status 状态
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\GoodsSpu onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu wherePrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu whereSort($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu whereSpuName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu whereStock($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\GoodsSpu withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\GoodsSpu withoutTrashed()
 * @mixin \Eloquent
 * @property string|null $type 属性
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu whereType($value)
 * @property string|null $specification_code 规格编码
 * @property string|null $color_spu_name 颜色属性
 * @property string|null $size_spu_name 尺码属性
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu whereColorSpuName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu whereSizeSpuName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu whereSpecificationCode($value)
 * @property int|null $img_id 属性图片
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu whereImgId($value)
 * @property int $sync_time
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsSpu whereSyncTime($value)
 */
class GoodsSpu extends Model
{
    protected $table = "goods_spu";
    use SoftDeletes;
}
